-
Home
-
Tutor LMS – eLearning and online course solution
-
3.8.3
-
Code
-
Classes
- CartController
| Total Complexity |
22 |
| Dependencies |
6 |
| Dependents |
7 |
| Total lines |
285 |
| Lines of code |
139 |
| Logical lines of code |
58 |
| Comment lines |
72 |
| Methods |
9 |
| Properties |
1 |
Methods 9
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| add_course_to_cart() |
S |
47 |
5 |
43 |
| delete_course_from_cart() |
S |
48 |
4 |
39 |
| restrict_add_to_cart_course_list() |
S |
55 |
4 |
18 |
| create_cart_page() |
S |
61 |
2 |
13 |
| __construct() |
S |
66 |
2 |
8 |
| get_user_cart_item_count() |
S |
67 |
2 |
8 |
| get_page_url() |
S |
80 |
1 |
3 |
| get_page_id() |
S |
79 |
1 |
3 |
| get_cart_items() |
S |
75 |
1 |
4 |